package com.ems.service.supers.questions;

import com.ems.pojo.data.RequestData;
import com.ems.pojo.questions.Choose;
import com.ems.pojo.questions.Subject;
import com.ems.pojo.questions.answer.ChooseAnswer;

import java.util.List;

/**
 * @Auther: 伟伟
 * @Date: 2019/10/19
 * @Description: 描述
 * @Version: 1.0
 */
public interface ChooseService {

    public void addChoose(Choose choose);

    public void addNewChoose(Choose choose);

    public void deleteChoose(List<Choose> chooseList);

    public void updateChoose(Choose choose);

    public List<Choose> findChoose(RequestData requestData);

    public Choose getChooseById(Choose choose);

    public int chooseSumByType(int sb_id,int ch_type);

    public List<Choose> getChooseBySbAndId(int sb_id,int ch_type,int num);

    public List<Choose> getChooseByIdsList(List<Integer> idsList);

    public ChooseAnswer getAnswer(int id);

    public List<ChooseAnswer> getAnswerList(int id);
}
